.#{$prefix}-p-course-index {
  height: calc(100% - 52px);
  .course-list {
    width: calc(100% + 16px);
    min-height: 300px;
    overflow: hidden;
    margin-top: -16px;
    margin-left: -16px;
    .course-it {
      float: left;
      width: calc(33.3333% - 16px);
      margin-top: 16px;
      margin-left: 16px;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.04);
      .course-content {
        display: flex;
        padding: 16px 24px;
        .course-img {
          width: 48px;
          height: 48px;
          img {
            width: 100%;
            height: 100%;
            border-radius: 4px;
            object-fit: contain;
          }
        }
        .course-info {
          position: relative;
          flex: 1;
          width: 1px;
          height: 116px;
          // margin-left: 16px;
          .course-title {
            width: 100%;
            line-height: 24px;
            font-size: 16px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
          }
          .course-status {
            position: absolute;
            right: -24px;
            top: -16px;
            width: 48px;
            height: 20px;
            text-align: center;
            line-height: 20px;
            font-size: 12px;
            color: #999;;
            background-color: #F0F0F0;
            border-radius: 0px 8px 0px 8px;
            &.is-active {
              color: #315BF4;
              background-color: #EAEEFD;
            }
          }
          .course-meta {
            line-height: 20px;
            font-size: 12px;
            .meta-it {
              margin-top: 8px;
              color: #666;
            }
            .el-progress {
              margin-top: 4px;
            }
          }
        }
      }
      .course-actions {
        padding: 0 24px;
        line-height: 52px;
        text-align: right;
        border-top: 1px solid #F0F0F0;
      }
    }
    .#{$prefix}-c-no-record {
      margin-top: 120px;
    }
  }
  .enter-study-btn {
    background: linear-gradient(270deg, #315BF4 0%, #839DF8 99%);
    border-width: 0;
  }
}
